﻿using System.Xml.Linq;

namespace AllTalkProxy
{
    public static class Constants
    {
        public static int BindTimeout = 8000; // 8 seconds
        public static int ReceiveTimeout = 5000; // 5 seconds
        public static int ReceiveBufferSize = 5000;
        public static int SendReceiveTimeout = 45000; // 45 seconds.
    }

    public static class ServerConfiguration
    {
        public static string ChatServer = "talk.google.com";
        public static int Port = 5222;
        public static string Recepient = "gmail.com";
    }

    public static class UserConfiguration
    {
        public static string Username = "***";
        public static string Password = "***";
    }

    public static class NamespaceConstants
    {
        public static string BindNamespace = "urn:ietf:params:xml:ns:xmpp-bind";
        public static string SaslNamespace = "urn:ietf:params:xml:ns:xmpp-sasl";
        public static string RosterNamespace = "jabber:iq:roster";
        public static string VcardNamespace = "vcard-temp";
    }
}
